Simple evaluation
Description
Simple Evaluation tests the value of a variable or a field from the result stream against a success condition to control process flow. Use this process entry when you need to make branching decisions based on runtime values — for example, checking whether a status variable is set to "OK", verifying that an error count is zero, or testing whether a filename field contains an expected value. If the result stream has multiple rows, only the first row is evaluated.
Configurations
| Field Name | Description |
|---|---|
| Process Entry name | Specify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name. |
| Evaluate | Select this to evaluate a ‘variable set before’ or ‘Field from previous result’. |
| Source: | |
| Evaluate | Choose ‘variable set before’. |
| Variable name | Enter the variable name using the usual syntax |
| Type | The type of your variable |
| Success On: | |
| Success when variable set | When this option is selected, the true path is followed when the variable is set. Note: The process entry checks if the variable is defined, so an empty or null value is also true. When testing this within Process Studio you need to delete the line with the variable in the variables section of the Execute a process window. And remember: Once this variable is set, the variable keeps existing, even when deleting it from the list. |
| Success condition | Select the condition to be met for a successful result. |
| Value | Value to compare the variable to. |
| Source: | |
| Evaluate | Field from previous result |
| Field name | Enter the field name from the result row |
| Type | The type of your field |
| Success On: | |
| Success condition | Select the condition to be met for a successful result (Equal/Non equal/etc.) |
| Value | Value to compare the field to |